package com.packet.cheng.service.impl;
/**
 @author zaicheng
 @version 1.0
 @date 2022-04-19
 @email zzc15847256473@163.com
 */

import com.packet.cheng.entity.Person;
import com.packet.cheng.service.PersonService;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

//@Service
public class WomanPersonServiceImpl implements PersonService {
    @Override
    public List<Person> selectPersonInfo() {

        List<Person> personList = new ArrayList<>();

        Person person = new Person(1,"李美","女",30);
        Person person1 = new Person(2,"王丽","女",19);
        Person person2 = new Person(3,"思颖","女",29);
        Person person3 = new Person(4,"可欣","女",33);

        personList.add(person);
        personList.add(person1);
        personList.add(person2);
        personList.add(person3);

        return personList;
    }
}
